package com.jic.market.service.coupon;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.market.entity.coupon.CouponTrigger;

import java.util.List;

/**
 * 优惠券商品关联表
 *
 * @author : seven
 * @version : v1.0.0
 * @email : 774329481@qq.com
 * @since : 2020-03-15 08:30:01
 */
public interface CouponTriggerService {

    Long insert(CouponTrigger couponTrigger);

    Long delete(String promotionId);

    Long update(CouponTrigger couponTrigger);

    CouponTrigger queryByPrimaryKey(Long id);

    List<CouponTrigger> query(CouponTrigger couponTrigger);

    PageResult<CouponTrigger> queryPage(CouponTrigger couponTrigger, Page pageQuery);

}